package org.study.tdengine.mybatisplus.boot.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 作用描述
 *
 * @author doveylovey
 * @version v1.0.0
 * @email 1135782208@qq.com
 * @date 2025年10月23日
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DataType implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "ts", type = IdType.INPUT)
    private Timestamp ts;
    private Byte testTinyint;
    private Short testSmallint;
    private Integer testInt;
    private Long testBigint;
    private Float testFloat;
    private Double testDouble;
    // private BigDecimal testDecimal;
    private String testDecimal;
    private String testBinary;
    private String testVarchar;
    private String testVarbinary;
    private String testNchar;
    private Boolean testBool;
    // private byte[] testBlob;
    private String testBlob;
}
